package com.project_doctor.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project_doctor.mapper.AddressMapper;
import com.project_doctor.pojo.Address;
import com.project_doctor.service.AddressService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 王春兰
* @description 针对表【t_address】的数据库操作Service实现
* @createDate 2025-06-09 11:50:25
*/
@Service
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address>
    implements AddressService {
    @Autowired
    private AddressMapper addressMapper;
    @Override
    public List<Address> getAddress() {
        return addressMapper.selectList(null);
    }
}




